package com.sgb.kjwl.model.entity.jicai;

import java.io.Serializable;

public class AttrsBeans implements Serializable {
    //{"attribute":1045,"value":"φ12","no":6206,"name":"规格","sku":1,"parentId":1045}提交的规格型号列表数据对象
    //GoodsSkuChild{attribute='1045', valId='6206', val='φ12', isOnClick=true},//数据列表返回的数据对象
    private String  attribute;
    private String  value;
    private String  no;
    private String  name;
    private String  sku;
    private String  parentId;

    public AttrsBeans(String attribute, String value, String no, String name, String sku, String parentId) {
        this.attribute = attribute;
        this.value = value;
        this.no = no;
        this.name = name;
        this.sku = sku;
        this.parentId = parentId;
    }

    public String getAttribute() {
        return attribute;
    }

    public void setAttribute(String attribute) {
        this.attribute = attribute;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "{" +
                "attribute='" + attribute + '\'' +
                ", value='" + value + '\'' +
                ", no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", sku='" + sku + '\'' +
                ", parentId='" + parentId + '\'' +
                '}';
    }
}
